package com.linzelin.www.po;


public class Student extends User{

    private Integer id;
    private Integer duration;
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public  Student(String usename,String password)  {
        setUsename(usename);
        setPassword(password);
    }

    public Student()
    {

    }


    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

}
